package com.lintesis.lintesisview.common.util;

import java.io.File;

import net.sf.jasperreports.engine.util.FileResolver;





public class JasperFileResolver implements FileResolver
{

	String rootPath;
	
	
	public JasperFileResolver(String rootPath)
	{
		super();
		this.rootPath = rootPath;
	}


	@Override
	public File resolveFile(String fileName)
	{
		
		return new File(rootPath+fileName);
	}

}
